package com.ionehe.group.common.uaa.ex.application.converter;

import com.ionehe.group.common.uaa.ex.application.model.AdminLoginVo;
import com.ionehe.group.common.uaa.ex.application.model.ManageInfoVO;
import com.ionehe.group.common.uaa.ex.dto.AdminLoginDTO;
import com.ionehe.group.common.uaa.ex.dto.ManageInfoDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * Copyright (c) 2020 ionehe.com
 * Date: 2020/11/25
 * Time: 10:29 下午
 *
 * @author 2020年 <a href="mailto:a@ionehe.com">秀</a>
 */
@Mapper
public interface ManageInfoVOConvert {
    ManageInfoVOConvert INSTANCE = Mappers.getMapper(ManageInfoVOConvert.class);

    ManageInfoDTO vo2dto(ManageInfoVO manageInfoVO);

    AdminLoginDTO vo2dto(AdminLoginVo manageInfoVO);

    ManageInfoVO dto2vo(ManageInfoDTO data);
}
